home *** CD-ROM | disk | FTP | other *** search
/ Champak 109 / Vol 109.iso / games / speed_bi.swf / scripts / DefineSprite_25 / frame_4 / DoAction.as
Encoding:
Text File  |  2008-11-12  |  324 b   |  24 lines

  1. if(_root.gates >= 0)
  2. {
  3.    if(0 >= _root.health)
  4.    {
  5.       _root.health = 0;
  6.       _root.race = false;
  7.       bike.speed = 0;
  8.       gotoAndPlay(8);
  9.    }
  10. }
  11. else
  12. {
  13.    _root.race = false;
  14.    bike.speed = 0;
  15.    gotoAndPlay(8);
  16. }
  17. if(!_root.cars)
  18. {
  19.    if(3 < bike.speed)
  20.    {
  21.       _root.cars = true;
  22.    }
  23. }
  24.